import request from '@/utils/request';
import type { AxiosPromise } from 'axios';
import type { GoodsBrandVO,GoodsBrandQuery } from '@/api/home/goodsBrand/types';

/**
 * 查询品牌管理列表
 * @param query
 * @returns {*}
 */

export const listBrandApi = (query?: GoodsBrandQuery): AxiosPromise<GoodsBrandVO[]> => {
  return request({
    url: '/api/goods/brand/all',
    method: 'get',
    params: query
  });
};

